#ifndef DacAudio_H
#define DacAudio_H
#include "main.h"

void DacAudio_Init();


void DacAudio_Play(Audio *audio, u8 playbackTimes, float volume);
void DacAudio_PlayId(u16 id, Audio *audio, u8 playbackTimes, float volume); 
void DacAudio_SetVolumeId(u16 id,float volume);
void DacAudio_Stop();
extern float dacAudio_VolumeM; 
extern float dacAudio_Data;

#define dacAudioData_SIZE 100 
extern float dacAudioData[dacAudioData_SIZE];   
extern bool dacAudio_audioDataRun;
void DacAudio_Task();
#endif
